package bruce.java;

/**
 * @author TaoTaojs
 * @date 2021/3/16 下午2:23
 * <p>Description</p>
 * <h2>功能描述</h2>
 *
 * <h3>主要功能：</h3>
 * <ol>
 *     <li></li>
 * </ol>
 * <h3>关联类</h3>
 * <p>参考链接：</p>
 * <h2>更新日志</h2>
 * [author]        [time]                      [version]          [desc]
 * TaoTaojs        2021/3/16 下午2:23             V1.0
 */
@SuppressWarnings("ALL")
public class By3_10 {

    public static final int MIN_INT = 0b101010;
    public static final int MAX_INT = 0b010101;

    public static void main(String[] args) {
        System.out.println(Integer.toBinaryString(MIN_INT&MAX_INT));
        System.out.println(Integer.toBinaryString(MIN_INT|MAX_INT));
        System.out.println(Integer.toBinaryString(MIN_INT^MAX_INT));
        System.out.println(Integer.toBinaryString(~MIN_INT&MAX_INT));
        System.out.println(Integer.toBinaryString(~(MIN_INT&MAX_INT)));
        System.out.println(Integer.toBinaryString(~MIN_INT|MAX_INT));
        System.out.println(Integer.toBinaryString(~MIN_INT^MAX_INT));
    }

}
